package com.blrs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.blrs.common.core.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.blrs.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 project_budget
 * 
 * @author ruoyi
 * @date 2023-12-05
 */
public class ProjectBudget extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 项目id */
    @Excel(name = "项目id")
    private String projectId;

    /** 费用条目 */
    @Excel(name = "费用条目")
    private String expenseName;

    /** 预算金额 */
    @Excel(name = "预算金额")
    private BigDecimal expenseAmount;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creationId;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creationName;

    private String indexTwo;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setProjectId(String projectId) 
    {
        this.projectId = projectId;
    }

    public String getProjectId() 
    {
        return projectId;
    }
    public void setExpenseName(String expenseName) 
    {
        this.expenseName = expenseName;
    }

    public String getExpenseName() 
    {
        return expenseName;
    }
    public void setExpenseAmount(BigDecimal expenseAmount)
    {
        this.expenseAmount = expenseAmount;
    }

    public BigDecimal getExpenseAmount()
    {
        return expenseAmount;
    }
    public void setCreationId(Long creationId) 
    {
        this.creationId = creationId;
    }

    public Long getCreationId() 
    {
        return creationId;
    }
    public void setCreationName(String creationName) 
    {
        this.creationName = creationName;
    }

    public String getCreationName() 
    {
        return creationName;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    public String getIndexTwo() {
        return indexTwo;
    }

    public void setIndexTwo(String indexTwo) {
        this.indexTwo = indexTwo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectId", getProjectId())
            .append("expenseName", getExpenseName())
            .append("expenseAmount", getExpenseAmount())
            .append("creationId", getCreationId())
            .append("creationName", getCreationName())
            .append("creationTime", getCreationTime())
            .toString();
    }
}
